//
//  URL_Ex.swift
//  Dawn
//
//  Created by dawn on 2021/9/20.
//

import UIKit

extension URL {
    var hostUrl: URL {
        return String(absoluteString.prefix(absoluteString.count - relativePath.count)).url!
    }
}
